package com.newtouch.bxzs.common.base.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

	
	/**
	 * 家庭关系普实体类
	 * <p>
	 * <b>History:</b>
	 * <table border="1">
	 * <tr>
	 * <th>Date</th>
	 * <th>Operator</th>
	 * <th>Memo</th>
	 * </tr>
	 * <tr>
	 * <td>2021/3/19 14:31</td>
	 * <td>chenfugui</td>
	 * <td>Create</td>
	 * </tr>
	 * </table>
	 *
	 * @author chenfugui
	 * @version 1.0.0
	 * @since 1.0.0
	 */
	@Data
	@TableName(value = "ASSISTANT_CUSTOMER_FAMILY_RELATIONSHIP")
	public class CustomerFamilyRelationship implements Serializable {

		/**
	     * 序列化
	     */
		private static final long serialVersionUID = 7714422124965398305L;

		
	   

	    /**
	     * 主键
	     */
	    @TableId(value = "CUSTOMER_FAMILY_RELATIONSHIP_ID", type = IdType.ASSIGN_UUID)
	    private String familyRelationshipId;

	    /**
	     * 创建人id
	     */
	    @TableField(value = "CREATE_USER_ID")
	    private String createUserId;

	    /**
	     * 创建时间
	     */
	    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	    @TableField(value = "CREATE_TIME")
	    private Date createTime;

	    /**
	     * 修改人id
	     */
	    @TableField(value = "UPDATE_USER_ID")
	    private String updateUserId;

	    /**
	     * 修改时间
	     */
	    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	    @TableField(value = "UPDATE_TIME")
	    private Date updateTime;

	    /**
	     * 备注
	     */
	    @TableField(value = "MEMO")
	    private String memo;

	    /**
	     * 家人手机号
	     */
	    @TableField(value = "CUSTOMER_FAMILY_PHONE")
	    private String familyPhone;

	    /**
	     * 家人姓名
	     */
	    @TableField(value = "CUSTOMER_FAMILY_NAME")
	    private String familyName;

	    /**
	     * 关系类型
	     */
	    @TableField(value = "CUSTOMER_FAMILY_RELATIONSHIP_TYPE")
	    private String relationshipType;

	    /**
	     * 数据来源
	     */
	    @TableField(value = "DATA_SOURCE")
	    private String dataSource;
	
	    /**
	     * 客户id
	     */
	    @TableField(value = "CUSTOMER_ID")
	    private String customerId;
	    
	    /**
	     * 家人证件类型
	     */
	    @TableField(value = "CUSTOMER_FAMILY_CERTIFICATE_TYPE")
	    private String familyCertificateType;
	    
	    /**
	     * 家人证件号码
	     */
	    @TableField(value = "CUSTOMER_FAMILY_CERTIFICATE_NUMBER")
	    private String familyCertificateNumber;
	    
	    /**
	     * 是否删除0-否 1-是
	     */
	    @TableField(value = "IS_DELETE")
	    private String isDelete;
	    
	}

